

class InquirerData {
  String? name;
  int? gender;
  int? age;
  int? id;
  int? uid;
  String? birthday;
  String? createdTime;
  String? idCard;
  String? phone;
  /// 关系 0.自己 1.家庭成员 2.亲戚 3.朋友 4.其他,可用值:MYSELF,FAMILY_MEMBER,RELATIVE,FRIEND,OTHER
  int? relation;
  String? updatedTime;

  InquirerData(
      {this.name,
      this.gender,
      this.age,
      this.id,
      this.uid,
      this.birthday,
      this.createdTime,
      this.idCard,
      this.phone,
      this.relation,
      this.updatedTime});

  InquirerData.fromJson(Map<String, dynamic> json) {
    name = json['name'];
    gender = json['gender'];
    age = json['age'];
    id = json['id'];
    uid = json['uid'];
    birthday = json['birthday'];
    idCard = json['idCard'];
    phone = json['phone'];
    relation = json['relation'];
    createdTime = json['createdTime'];
  }

  @override
  String toString() {
    return 'InquirerData{name: $name, gender: $gender, age: $age, id: $id, uid: $uid, birthday: $birthday, createdTime: $createdTime, idCard: $idCard, phone: $phone, relation: $relation, updatedTime: $updatedTime}';
  }
}
